<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="author" content="@梦雨(QQ50361804)" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>{:set('jifen',2)}管理 - {:set('title')}</title>
    <meta name="keywords" content="{:set('keywords')}">
    <meta name="description" content="{:set('description')}">
    {include file="app/index/view/header.html"}
                <!-- 内容开始 -->
                <div class="col-12 col-md-12 col-lg-10">
                    <div class="box box-content" style="min-height: 625px;">
                         
                        <div class="filterspace__controls">
                            <ul class="nav nav-pills" id="pills-tab" role="tablist">
                                <li class="nav-item">
                                    <a href="{:url('index/user/jifen')}" class="nav-link {if get('id','1')=='1'}active{/if}">{:set('jifen',2)}记录</a>
                                </li>
                                <li class="nav-item">
                                    <a href="{:url('index/user/jifen',array('id'=>2))}" class="nav-link {if get('id','1')=='2'}active{/if}">提现记录</a>
                                </li>
                            </ul>
                        </div> 
                        <div class="sides_list_property large mt-10" style="display: block;">
                            {if get('id','1')=='1'}
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              您的余额（{:user('point')}）{:set('jifen',2)} <a href="javascript:;" class="cz_user"><i class="iconfont">&#xe6cc;</i> 充值</a>
                            </div>
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              提示:  1元人民币兑换{:set('bili',2)}{:set('jifen',2)} 最少充值 {:set('pointzs',2)}元{:set('tishi',2)}
                            </div>
                            <div style="overflow: auto;">
                                <table class="layui-table" style="min-width: 600px;"> 
                                  <colgroup>
                                    <col width="100">
                                    <col width="200">
                                    <col width="100">
                                    <col>
                                  </colgroup>
                                  <thead>
                                    <tr>
                                      <th>{:set('jifen',2)}</th>
                                      <th>明细</th>
                                      <th>时间</th>
                                    </tr> 
                                  </thead>
                                  <tbody>
                                    {volist name=":fun_s('point_note',array('uid'=>session('userid')),'id desc',10,false)" id="vo"}
                                    <tr>
                                      <td>{$vo.jifen}</td>
                                      <td>{$vo.title}</td>
                                      <td>{$vo.time|times}</td>
                                    </tr>
                                    {/volist}
                                  </tbody>
                                </table>
                            </div>
                            {:fun_s('point_note',array('uid'=>session('userid')),'id desc',10,false)->render()}
                            {/if}
                            {if get('id','1')=='2'}
                            <!--提现-->
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              您的余额（{:user('point')}）{:set('jifen',2)} <a href="javascript:;" class="tixian_user"><i class="iconfont">&#xe670;</i> 提现</a>
                            </div>
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              提示:  提现1元等于 {:set('txjf',2)}{:set('jifen',2)} ，最少提现{:set('txpoint',2)}{:set('jifen',2)}
                            </div>
                            <div style="overflow: auto;">
                                <table class="layui-table" style="min-width: 600px;"> 
                                  <thead>
                                    <tr>
                                      <th>{:set('jifen',2)}</th>
                                      <th>实际到账</th>
                                      <th>申请时间</th>
                                      <th>状态</th>
                                    </tr> 
                                  </thead>
                                  <tbody>
                                    {volist name=":fun_s('tixian',array('uid'=>session('userid')),'open asc,id desc',10,false)" id="vo"}
                                    <tr>
                                      <td>{$vo.jifen}</td>
                                      <td>￥{$vo.rmb} 元</td>
                                      <td>{$vo.time|times}</td>
                                      <td>{if $vo.open==1}提现成功{/if}{if $vo.open==0}<span style="color: #fd5f56;">提现中</span>{/if}{if $vo.open==-1}{$vo.com}{/if}</td>
                                    </tr>
                                    {/volist}
                                  </tbody>
                                </table>
                            </div>
                            {/if}
                            {:fun_s('tixian',array('uid'=>session('userid')),'open asc,id desc',10,false)->render()}
                            <div class="clearfix"></div>
                        </div>   
                    </div>
                </div>
            </div>
        </div>
    </main>
    <div class="h66"></div>
    {:hook('userjifen')}
    {include file="app/index/view/footer.html"}